package com.acknight.service;

import com.acknight.dto.Result;
import com.acknight.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;

public interface IBlogService extends IService<Blog> {

    Result queryHotBlog(Integer current);

    Result queryBlogById(Long id);

    Result saveBlog(Blog blog);

    Result getBlogByShopId(Long id);

    Result getBlogByUserId(Long id);

    Result deleteBlogById(Long id);
}
